//
//  ZZCBaseSelectView.h
//  ZZC-Finance
//
//  Created by mac on 2017/5/22.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol ZZCBaseSelectViewDelegate <NSObject>
@optional

-(void)selectedIndex:(NSInteger)index;
@end

@interface ZZCBaseSelectView : UIView

//选择回调
@property (nonatomic, weak)id <ZZCBaseSelectViewDelegate> delegate;

//数据源
@property (nonatomic, strong) NSArray *dataArray;

//字体非选中时颜色
@property (nonatomic, strong) UIColor *textNomalColor;

//字体选中时颜色
@property (nonatomic, strong) UIColor *textSelectedColor;

//横线颜色
@property (nonatomic, strong) UIColor *lineColor;

//字体大小
@property (nonatomic, assign)CGFloat titleFont;

//手动选择
- (void)selectIndex:(NSInteger)index;

@end
